home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group00a.txt
/
000061_icon-group-sender _Wed Apr 12 09:24:02 2000.msg
< prev
next >
Wrap
Internet Message Format
|
2001-01-03
|
2KB
Return-Path: <icon-group-sender>
Received: (from root@localhost)
by baskerville.CS.Arizona.EDU (8.9.1a/8.9.1) id JAA05468
for icon-group-addresses; Wed, 12 Apr 2000 09:23:55 -0700 (MST)
Message-Id: <200004121623.JAA05468@baskerville.CS.Arizona.EDU>
From: eddie@holyrood.ed.ac.uk (Eddie Corns)
X-Newsgroups: comp.lang.icon
Subject: changes to proc() ??
Date: 12 Apr 2000 11:27:24 GMT
X-Trace: scotsman.ed.ac.uk 955538844 3603 129.215.16.14 (12 Apr 2000 11:27:24 GMT)
X-Complaints-To: usenet@scotsman.ed.ac.uk
X-Newsreader: NN version 6.5.0 #2 (NOV)
To: icon-group@optima.CS.Arizona.EDU
Errors-To: icon-group-errors@optima.CS.Arizona.EDU
Status: RO
Hello world,
Have there been any changes to the proc() procedure lately. I'm writing a tiny
little interpreter and wanted to make use of calling my procedures by
evaluating the commands read from the input stream. So f'rinstance I have:
procedure show()
every writes(!sort(stack[-1])," ")
write("")
end
then later on:
if line == !ops then
x := proc(line)
x()
(except with {} - I must stop my newsreader from using vi).
Anyway, my reading of the book suggests this should work and indeed on an old
version of the interpreter I have lying around it does work but not on newer
ones. The version I tested on linux which fails is 9.3.2, I think the Solaris
version which faile is 9.0.? and the Solaris version which worked is unknown.
I couldn't find any reference in the docs except an old (9.0) version documenting
the addition of 0 as the second arg.
Thanks,
Eddie